module.exports = {
  meta: {
    type: 'problem',
    schema: []
  },
  create(context) {
    return {
      CatchClause(node) {
        if (
            node.param &&
            node.param.type === "Identifier" &&
            !node.body.body.length
        ) {
          context.report({
            node: node.parent,
            message: 'you must provide a interactive action to user in `TryStatement`',
          });
        }
      }
    }
  }
}